package com.wmh.baseservice.merchant.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wmh.baseservice.common.mybatisplus.methods.CommonMapper;
import com.wmh.baseservice.merchant.pojo.MerchantVegetablePlot;
import com.wmh.baseservice.user.pojo.vo.PlotSearch;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author wmh generator
 * @since 2021-12-24
 */
public interface MerchantVegetablePlotMapper extends CommonMapper<MerchantVegetablePlot> {

    IPage<MerchantVegetablePlot> getVegetablePlotList(Page<MerchantVegetablePlot> vegetablePagePlot, @Param("map") Map<String, Object> map);

    IPage<MerchantVegetablePlot> usPlotList(Page<MerchantVegetablePlot> vegetablePage, @Param("map") Map<String, Object> map);

    MerchantVegetablePlot plotDetail(@Param("map") Map<String, Object> map);

    Long getMerchant(Long id);

    IPage<PlotSearch> searchList(Page<PlotSearch> page, @Param("map") Map<String, Object> map);
}
